#!/usr/bin/env python
# -*- coding:utf-8 -*-

li = [34,11,4,99,45,12,1]
print li
for m in range(6):
    num1= li[m]
    num2=li[m+1]
    if num1 > num2:
        temp= li[m]
        li[m]=num2
        li[m+1]=temp
print li
for m in range(5):
    num1= li[m]
    num2=li[m+1]
    if num1 > num2:
        temp= li[m]
        li[m]=num2
        li[m+1]=temp
print li
for m in range(4):
    num1= li[m]
    num2=li[m+1]
    if num1 > num2:
        temp= li[m]
        li[m]=num2
        li[m+1]=temp
print li
for m in range(3):
    num1= li[m]
    num2=li[m+1]
    if num1 > num2:
        temp= li[m]
        li[m]=num2
        li[m+1]=temp
print li
for m in range(2):
    num1= li[m]
    num2=li[m+1]
    if num1 > num2:
        temp= li[m]
        li[m]=num2
        li[m+1]=temp
print li
for m in range(1):
    num1= li[m]
    num2=li[m+1]
    if num1 > num2:
        temp= li[m]
        li[m]=num2
        li[m+1]=temp
print li
for m in range(0):
    num1= li[m]
    num2=li[m+1]
    if num1 > num2:
        temp= li[m]
        li[m]=num2
        li[m+1]=temp
print li